package com.cdcas;

public class TicketTest {
    public static void main(String[] args) {
        Ticket ticket = new Ticket();
        for (int x=0;x<5;x++) {
            new Thread(()->{
                ticket.sale();
            },"售票员-"+x).start();
        }
    }
}
